import { Module } from '@nestjs/common';
import { UserController } from './user.controller';
import { UserService } from './user.service';

import { MongooseModule } from '@nestjs/mongoose';
import { UserSchema } from './user.schema';

@Module({
  imports: [], //输入的模块
  controllers: [UserController], // 加载控制器
  providers: [UserService], // 供应(server层)
})
export class UserModule {}
